__spket = {
	DBObject: {
		remove: function() {},
		save: function() {}
	},
	DBCorsor: {
		list: function(o) { return cusor; },
		sort: function(o) { return cursor; },
		limit: function(length) { return cursor; },
		skip: function(offset) { return cursor; },
		count: function() { return 0; },
		distinct: function() { return []; },

		$list: function(o) { return []; },
		$sort: function(o) { return []; },
		$limit: function(length) { return []; },
		$skip: function(offset) { return []; }
	}
};

panda.db.get = function(name) {
	return {
		count: function() { return 0; },
		get: function(o) { return __spket.DBObject; },
		insert: function(o) {},
		list: function(o) { return __spket.DBCorsor; },
		remove: function(o) {},
		save: function(o) {},
		update: function(o) {},
		distinct: function(o) { return []; }
	};
};

panda.post = function(req, success, failure) {};
panda.open = function(request) {};
panda.formatSize = function(bytes) { return ""; };
panda.shorten = function(name, length) { return ""; };
panda.safari = false;

JSON = {
	stringify: function(jsonString) { return {}; },
	parse: function(obj) { return "" }
};

Assert = {
	assertTrue: function(actual) { return true; },
	assertFalse: function(actual) { return true; },
	assertEquals: function(expected, actual, delta) { return true; }
};
